.bg {
    width: 800px;
    height: 300px; /* 调整为更合理的高度 */
    background-color: darksalmon;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    border-radius: 10px;
    box-shadow: rgba(100, 100, 111, 0.2) 0 7px 29px 0;
    display: flex;
    align-items: center;
}

.bg .slogan {
    color: white;
    width: 360px;
    text-align: center;
}

.bg .slogan h2 {
    margin: 20px;
    font-size: 26px;
}

.bg .form-box {
    width: 400px;
    height: 500px; /* 增加高度 */
    background-color: white;
    box-shadow: rgba(0, 0, 0, 0.35) 0 5px 16px;
    border: 10px solid #ccc;
    display: flex;
    align-items: center;
    color: darksalmon;
}

.bg .form-box .main {
    width: 360px;
    height: auto; /* 根据内容自动调整高度 */
    padding: 20px;
    text-align: center; /* 文本居中 */
    display: flex;
    flex-direction: column;
    justify-content: center; /* 垂直居中 */
}

.bg .form-box .main h2 {
    margin-bottom: 20px;
}

.bg .form-box .main ul {
    list-style: none;
    padding: 0;
}

.bg .form-box .main ul li {
    margin: 10px 0;
}

.bg .form-box .main input {
    width: 100%;
    outline: none;
    border-radius: 3px;
    border: 1px solid #ccc;
    padding: 8px 14px;
    box-sizing: border-box;
}

.bg .form-box .main .submit-btn {
    margin-top: 20px;
    width: 100%;
    padding: 10px;
    color: inherit;
    border: none;
    background-color: white;
    box-shadow: rgba(0, 0, 0, 0.15) 2.4px 2.4px 3.2px;
    border-radius: 50px;
    cursor: pointer;
}
.bg .form-box .main .submit-btn:hover {
    background-color: #f0f0f0;
}
.bg .bottom-box{
    text-align: center;
    font-size: 12px;
    text-decoration: none;
}
.bg .bottom-box:hover{
    background-color: darksalmon;
}